package com.wwj.depository.feign;

import com.wwj.depository.to.AnnouncementTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("cems-feedback")
public interface FeedbackFeignService {

    /**
     * 获取最近三条公告
     */
    @GetMapping("/announcement/getAnnouncementTop3")
    List<AnnouncementTo> getAnnouncementTop3();

    /**
     * 获取待处理的问题
     */
    @GetMapping("/feedbackQuestion/getNoHandleQuestion")
    int getNoHandleQuestion();
}
